/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul,
li {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* custom */
a {
  color: #7e8c8d;
  text-decoration: none;
  -webkit-backface-visibility: hidden;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track-piece {
  background-color: rgba(255, 255, 255, 0.2);
  -webkit-border-radius: 6px;
}
::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: rgba(125, 125, 125, 0.5);
  -webkit-border-radius: 6px;
}
::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: rgba(125, 125, 125, 0.5);
  -webkit-border-radius: 6px;
}
html,
body {
  width: 100%;
  font-family: 'Arial', 'Microsoft YaHei', '黑体', '宋体', '微软雅黑', sans-serif;
  overflow: hidden;
}
body {
  line-height: 1;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*清除浮动*/
.clearfix:before,
.clearfix:after {
  display: table;
  content: '';
  clear: both;
}
.clearfix {
  zoom: 1;
  overflow: hidden;
}
button {
  border: none;
  outline: none;
  background: none;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
}
.main-body {
  background: #f2f4f6;
  height: 100%;
}
.header {
  height: 150px;
  padding: 0 10px;
  & > div {
    float: left;
    width: 33.33%;
    height: 150px;
    overflow: hidden;
  }
  .logo {
    padding: 30px 0;
    img {
      display: block;
      height: 90px;
    }
  }
  .tips {
    text-align: center;
    line-height: 150px;
    span {
      vertical-align: top;
    }
  }
  .timer {
    text-align: right;
    color: #333;
    .week {
      padding: 30px 10px;
      display: inline-block;
      vertical-align: top;
      font-weight: 300;
      font-size: 32px;
      line-height: 45px;
    }
    .time {
      display: inline-block;
      vertical-align: top;
      font-weight: 400;
      font-size: 90px;
      line-height: 150px;
      text-align: left;
    }
  }
}
.main {
  height: calc(100% - 150px - 100px);
  padding: 30px;
}
.footer {
  height: 100px;
  line-height: 100px;
  padding-left: 100px;
  background: #fff url('@/assets/images/icon-tips.png') no-repeat left 20px center;
  background-size: 60px;
  span {
    vertical-align: top;
  }
}

.mobile-body {
  background: #e5eaef;
  height: 100%;
  .header {
    div.logo {
      width: 60%;
    }
    div.timer {
      width: 40%;
      .week {
        font-size: 30px;
        padding: 30px 5px 30px 0;
      }
      .time {
        font-size: 75px;
      }
    }
  }
}
